home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CRotateMouseTask.h < prev    next >
Text File  |  1994-04-06  |  945b  |  29 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| This file contains the interfact to the CRotateMouseTask class.
  3. //|_________________________________________________________________
  4. #pragma once
  5.  
  6. #include "Mouse.h"
  7. #include <CMouseTask.h>
  8.  
  9. CLASS CHyperCuberPane;
  10.  
  11. class CRotateMouseTask : CMouseTask
  12.     {
  13.     
  14.     mouse_task_struct *h_tasks;        //  Horizontal tasks
  15.     mouse_task_struct *v_tasks;        //  Vertical tasks
  16.  
  17.     short num_h, num_v;                //  Number of horizontal and vertical tasks
  18.         
  19.     CHyperCuberPane        *pane;        //  The pane containing graphic we're rotating
  20.     
  21.   public:
  22.   
  23.     void    IRotateMouseTask(CHyperCuberPane *the_pane, mouse_task_struct *h_mouse_tasks,
  24.                                         mouse_task_struct *v_mouse_tasks,
  25.                                         short num_h_tasks, short num_v_tasks);
  26.     void    KeepTracking(LongPt *start_point, LongPt *previous_point, LongPt *current_point);
  27.     void    EndTracking(LongPt *start_point, LongPt *previous_point, LongPt *current_point);
  28.  
  29.     };